package com.aaa.stat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableScheduling
@EnableSwagger2
@SpringBootApplication
@MapperScan(
        basePackages = {"com.aaa.stat.dao"}
)
@ComponentScan(
        basePackages = {"com.aaa.stat", "com.aaa.security"}
)
public class StatApp {
    public StatApp() {
    }

    public static void main(String[] args) {
        SpringApplication.run(StatApp.class, args);
    }
}
